package webTest.sessionCookie.LastView;

/**
 * Created by IFT8 on 2015/1/26.
 *
 */
public class Book {
    private String id;
    private String name;//书名
    private String author;//作者
    private String publisher;//出版社
    private double price;//售价
    private String description;//描述


    public Book(String id, String name, String author, String publisher, double price, String description) {
        setId(id);
        setName(name);
        setAuthor(author);
        setPublisher(publisher);
        setPrice(price);
        setDescription(description);
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
